package com.xframe.common.core.dto;

import lombok.Data;

@Data
public class QueryDTO extends BaseQueryDto {


    /**
     * 分页索引号
     */
    private int pageIndex = 1;
    /**
     * 页容量
     */
    private int pageSize = 20;

    /**
     * 是否返回总记录数
     */
    private boolean recordCountFlag = true;

    public void setRecordCountFlag(boolean recordCountFlag){
        this.recordCountFlag = recordCountFlag;
    }

    public boolean getRecordCountFlag(){
        return this.recordCountFlag;
    }


}
